package com.ipDev.moyvSys.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "moyv.jwt")
public class JwtProperties {
    //管理端生成jwt配置
    private String empSecretKey;
    private long empTtl;
    private String empTokenName;
    //用户端生成jwt配置
    private String userSecretKey;
    private long userTtl;
    private String userTokenName;
}
